Z-ordering ACTUALLY fixed

wooooo