Fixed a bug.

 sprites were not shown when the app was resumed.