Fix nan of label for arc
Fix legend position when flush() called