Fixed tasks being affected by drawing structure.
Fixed task IDs not being displayed or being inconsecutive.