Merge "Don't set insets if task frame doesn't fit the screen" into nyc-dev