diff --git a/src/main/java/codechicken/nei/ItemZoom.java b/src/main/java/codechicken/nei/ItemZoom.java index cbf160f74..9ace7d073 100644 --- a/src/main/java/codechicken/nei/ItemZoom.java +++ b/src/main/java/codechicken/nei/ItemZoom.java @@ -112,7 +112,7 @@ public void resize(GuiContainer gui) { this.availableAreaWidth = (int) (availableAreaWidth / screenScale); if (availableAreaWidth / screenScale >= mouse.x) { - this.xPosition = gui.width * screenScale - availableAreaWidth; + this.xPosition += gui.width * screenScale - availableAreaWidth; } try {