Fixed crash on shift-click

Also improved the shift-clicking in the smelter