Updated JoyButton mouseEvent method to use newer mouse movement code.