Fixed mouselistener bug