Keep the platforms within the level

Fix #1865
Merge pull request #1872 from hawkthorne/fix_forest_platforms

Keep the platforms within the level