Cancelling item move command in template edit duplicates it

Moving a placed furniture inside your projected structure, then cancelling last action (via Ctrl+Z or the button in building editor) duplicates the item.

Steps to reproduce:

  1. Place a building from template (don’t know if relevant - perhaps works with buildings created from scratch as well).
  2. Place a furniture item inside it or have it from the template (in my case it was a log pile)
  3. Move a log pile by selecting and dragging it around.
  4. Cancel your last action via Ctrl+Z or appropriate button inside building editor

Expected Results:
Item ghost should move back to the place where it was before moving.

Actual Results:
Item ghost moves to the previous location, but also stays in its new place, creating two ghost copies of the item.

Version Number and Mods in use:
Alpha 17 r584.
Mods: homf, locks of many hair, endpieces, debugtools, my own lodewall_lights and lodewall_boxes