Keep the platforms within the level

Fix #1865 

![screen shot 2013-11-05 at 11 00 12 pm](https://f.cloud.github.com/assets/34893/1480573/2f0104da-46b1-11e3-812a-d50a381a3d1c.png)