Revised the mouse event listener interface, now handling mouse clicks