Proper Image/Canvas differentiation in Window::render()