Utility function to check if the application camera is under the terrain, and if so, move it to the terrain height + 300 meters.
Utility function to check if the application camera is under the terrain, and if so, move it to the terrain height + 300 meters.