RenderingMode is restored to default value after each rendering.
Merge branch 'scale' into develop
Enable double buffering for flicker reduction.