Make engine use Math.PI instead of StrictMath.PI