Fix for IE10 returning matrix3d

getComputedStyle on IE10 returns matrix3d insead of matrix, so
different elements elements need to be used for the x and y offsets in
that case.