Fixed mouse listener on restart