Fixed bug wireframe mode when levelGeometry was null