New RectWrapper to fix Rects leaking memory.