fixed handling of rect parametrers in PShape