Fixed snapping to grid when moving and pasting objects

When pasting objects it was dealing with pixel coordinates rather than
tile coordinates for aligning.

For the moving, the alignment position is now in pixel coordinates but
was still treated as being in tile coordinates.