Fixing the draw order for ribbons.