Updated the check for the type of constraint
Fixed call to constrain.x for constraint of type PlacerSubvertexSameChipConstraint, but that kind of constraint doesnt have an x property.