fixed issue #923, added Javadocs explaining what happens to x and y coords when the mouse is catched