ShapeManager initialisation bug fix