Oh, I missed that he posted a link to the script in the OP. Whoops.

But yes, my first suspicion was that the arguments being passed were unintentional. ..and yeah, it does look like you are passing negative numbers in reverse order.

Still might be a corner-case bug though if you want to trace the values that draw an entire screen sized rect.