Fix mouse coordinates not set on listener.