Bug 942170 - Don't intersect with RectContainingTitlebarControls() until we know that its values are up-to-date. r=smichaud
Bug 942913 - Make sheets return YES from isVisibleOrBeingShown while the sheet opening animation runs so that we don't refuse to composite them during the animation. r=smichaud