Thanks!
That's a nice way to solve it! It looks like when you shrink it, it fits two pixels into the space of one by averaging their colors. I should be able to fix it by putting a margin above the bomb so it's not adjacent to the square you click on.