fix case where new item has no position