Fixed a bug with reversing the priority rendering.