Actually I already had getters for windowWidth and windowHeight on the manager, so I can use those.