Mouse events fixes