ribbon draw fixes