fix: consider `pageX` 0 value

Fix `Uncaught TypeError: Cannot read property '0' of undefined` when
pageX value is `0`. It was interpreted as falsey.

Close #57, close #73, close #77, resolve #90