Make sure to use the window and render values we get from the window library.