Fixed bug in 3d transition with back face.