Improve logging when canonicalizing window frame