diff --git a/invokeai/frontend/web/src/features/controlLayers/konva/CanvasLayer.ts b/invokeai/frontend/web/src/features/controlLayers/konva/CanvasLayer.ts index 7748b9c785..15917f5776 100644 --- a/invokeai/frontend/web/src/features/controlLayers/konva/CanvasLayer.ts +++ b/invokeai/frontend/web/src/features/controlLayers/konva/CanvasLayer.ts @@ -397,7 +397,7 @@ export class CanvasLayer { } } this.resetScale(); - dispatch(layerRasterized({ id: this.id, imageObject, position: { x: rect.x, y: rect.y } })); + dispatch(layerRasterized({ id: this.id, imageObject, position: { x: Math.round(rect.x), y: Math.round(rect.y) } })); }; stopTransform = () => {