Rendering properly in scene class