Fix cursor position in xshm plugin

By premultiplying the cursor translation it is positioned correctly
even if the whole source is transformed.