Fixed Graph::resize().