Fix cursor position in xshm plugin

By premultiplying the cursor translation the cursor is positioned
relative, and thus correctly, when the source has transformations
applied to it.
Merge pull request #247 from fryshorts/xshm-input

Fix cursor position in xshm plugin