SetPrecision after calculating the mask position.  These numbers can have so much precision that further operations cause them to goto Scientific Notation and that's can't be used in the matrix3d style element.
match the behavior of Math.cos(undefined) and Math.sin(undefined)