Painting now only draws when the cursor is moved into a new tile