Added mouse lock.