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.