This is an old UI backpack bug, can be easily fixed by an xml modlet for the \Config\XUi\controls.xml, for example like this:
<configs>
<!-- Overrides the cell width="64" and height="64" of the style="itemStack" for the precise use with vanilla backpack grid. The default cell size of itemStack is 75 for other various inventory cells. -->