Gantt:fix drawing in Linux