fix typo in events mouse-handler