Don't use deprecated screenPositionFromMouseEvent