Fixed ugly, out-of-order texture rendering.