more accurate processing of entering mouse in Input::X11Manager