subclass UIWindow

thanks to @dzenbot for this fix