RectPainter specs and fixed one inheritance

* sorry forgot to runt he tests initially after last commit :o