some minor changes

minor changes so that the rendering option adapts to orthographic mode
and perspective mode