fix bug with defineShape if shape is non-editable (no handles). automatically use renderShapes as default renderFn.