Refactoring fill_rect() from OffScreen to Canvas as default implementation.