Painting is now much less laggy. Tile preview only updates when the tile position is changed