Viewport fix.
Merge branch 'master' into gh-pages