Fix for showing alert sheets in a window (which are UIView subclasses)