Change label draw algorithm