Converted over from clientX/Y to pageX/Y.  According to the jQuery docs these are normalized across browsers.
Fixed an issue that mean only output could be connected to input in that order and not the other way around.