painting: account for index maybe being zero after the preceding change
1 file changed