Fixed bug in fading out of background view