fixing splash screen on resume