draw_label fix for chrome and safari