Implements a fix for issue #1568, automatically setting the game's resolution to that of the desktop the first time the game is run.