Replace Window::getSize with Window::width and Window::height