Better setHoverTileVisually() method

Moved code to another method to make it cleaner and easier to read.
Fixed the mapping of mouse position to tiles

Added the unit scale to the mapping of mouse position to tiles.