Move undo creation from entity to acfmenu tool
This fixes it occasionally creating extra undos when you spawned a dupe