Added on mouse down event to print the mouse cursor position.