Fix incorrect assert in Osd::DrawContext