Simulates clicking the mouse at position x, y (pixels) in the currently focused window (which must have an on-event method).