Fix sorting back to front (when rendering transparent)