Some more assertion failures on the way into 3D environment.

Signed-off-by: PlutoniumHeart <zhitaoli.hust@gmail.com>