Cannot figure out how firefox determines position coordinates after transformation