Fixes for 3D model.