It may be better that mouseOnly takes an ol.MapBrowserPointerEvent rather than a ol.MapBrowserEvent.