Thanks to your comment, I started testing on that line and I found out that the position -= event.relative * zoom
should have been position -= event.relative / zoom
.
Actually not joking I wouldn’t have found the solution without the hint
2 Likes