Game pauses when it's not visible.