Fixed an auto-resume bug.

Games paused in the actionbar before e.g. the home button was pressed
aren't resumed automatically if the activity resumes to the foreground.
If the activity enters the foreground state the game is still in the
paused state and has to be resumed manually.