Fixed the issues with GetWorldPosition and added checks for the game environment type.