Whoops. Dragging the layer in the Inkscape XML editor back into proper order fixes this, but not ideal