change valueNode.center instead of centerX and centerY separately