Fix bug with getThingfromPos and positionToVariant