Further fixes due to error when releasing mouse over Gantt item.