Fix crash on door use; add spawn preview in editor