Added "mousemove" detection