Add mouse events and sprite movement.