When i was crafting an item (pistons) i spammed to put the blocks faster, that way it broke the number and it appeared as 1 item.
How to recreate: 1st get 64 items of the crafting you want. 2nd find the item you want to craft in recipe book. 3rd spam click on the item.
My bad it's not a bug