better mouse events on markers and popups