fix for iOS: application not updating deledate if resized in background