bug fix in rectangle preview
Merge branch 'complex-pockets'