Removed leak detector from RectangleList to avoid problems in DLL build.