Fixes undefined errors in empty game
They were caused by background and view variant arrays being
uninitialized.