Added handling for situations when the game object is stuck