Fixed Polygon Sandcastle example

Fix for #428 

Needed for b12.