Fix sprite rendering order.