Added sprite priority drawing in the renderer