This is not a defect, but working as designed.
The loading pattern will dictate the behavior of the scheduling. For Uniform loading pattern assignments, Autoschedule will allocate the resource usage on a daily basis in a task. The 'uniform' loading pattern will spread the 2 hours uniformly over the task date range.
Use the Front loading pattern instead. For Front loading pattern assignments, Autoschedule attempt to allocate resources as early in the task as possible.