Added option to setAllowCenterOnEdge(boolean).  This defaults to false.