Unknown position units: undefined

Weird. There must be a disagreement in the coordinate systems being used in JavaScript, but if even setting it to pixels doesn’t work, I don’t know how. See if this thread is of any help to you: Error in a loop of images in online version only