Placing tiles with grid snapping