Fixed bugs with photo icon display in Gantt chart.