Fix dragged element over the left border

This pull fixes undefined property error when dragging element over the left border of the window, as ```event.pageX``` is evaluated to false.