Plasma glass stacking fix

Fixes #4204

Stacking machine now checks for plasma glass before glass.