Fix crash taking screenshot when no game