more handy overrides for drawing rectangles.