I think this should be ensuring one or the other type of position (either x/y, or an element).