Allow 0 value for pageX

I was getting the error `