Fixed Javascript error when releasing mouse over Gantt item.