Fix debug draw order