Fix param type for Window::getSize