Fixed a bug that borke movement on mobile