Adjusted tile highlighting

Fixed a bug where tiles would be highlighted when the cursor was outside
the game's viewport