Implement ResizableWindow::getCanvas
Implement MainWindow::draw