Fix crashes in android when setting buffered rendering before starting the game.