Fixes #1272
Created by: ktiedt
Fixes #1272 (closed) - Add a bit of intelligence to the game setup routines so we only begin rendering Phaser stuff if the browser is active. Otherwise it will just pause at 100% and wait for focus to return to the game tab before rendering.
This relies on #1262 (closed) to work, so merge it first.