Window3D: refactored drawSceneElements()