Add a (hacky) rename window function to layout helpers