* ensure that the position of a ui node is within valid boundaries