when adding window as a child of view, warning message is formatted better.