Somehow fix DrawTiles command

This fix required, when shape has non-zero x or y coordinates and drawTiles was called with non-zero centerPoint. This fix relies on fixes for CanvasShape and DOMShape.