Perhaps don't start the game until it receives a focus.
EDIT: Just checked and the effect is only visible on Firefox. Works fine in Chrome.
Perhaps don't start the game until it receives a focus.