Add function for handling the mouse

Allow to get the position of the mouse in the map