Forgotten changes to window-bounds code