Z-ordering fixed

I HOPE SO AT LEAST