Made save_image work even for parentless widgets

The fbo is now rendered with the window canvas, not the widget's parent.