Villager ordered to construct building, but walks to middle of foundation and idles

Issue is worse after the new patch. Happened multiple times in a game across two games played.
Buildings built with B + build hotkey. Some of these foundations may have been right clicked after placing the foundation.

Replay:

Lumber Camp


Barracks
image
Tower

Blacksmith

Second game this occurred in:

Ming camp


Barracks

There is also a related issue when using the shift queue. If a building foundation is placed with shift queue, the villager will walk to the middle of it and then walk back to the next queued task, skipping the building. Link to this issue post: Villagers "skips" building of a foundation with shift queue