Fix tiles mouse

Fixes tiles mouse position problem related to integer/float conversion