Hello there. Glad to hear you've come around on the 5 slots thing. :)
As for your issue, I can't duplicate this in my test project. Admittedly, I haven't tried much, but I'm not really sure what could be causing it to draw a second craft command without any of your five slot edits from before. I extended the window by ~200 pixels, hid the listwindow, and refreshed the ingredient window to force it to redraw the commands, and it still only draws four slots and a craft button. Are you sure you've undone all of your changes from before? It looks like it's drawing a sixth command, but is still using the correct list length to decide if it should draw the craft button or not.