gtk: do not call gtk_widget_get_window if drawing area is not initialized