Correcting small bug that occurred when setSelectionRange() was called on
an element that does not support it.
Fix Bug #1
Fix pointer event bug: Too many event listeners in move, end, cancel.