Fixed the pause game issue