Gracefully handle a view with no window