added method for checking if mouse is on map/gui