fixed door schematic saving, for #1962

Yay, first time contributing to something!
Tell me if I should commit more stuff first, or whether a one-line pull request is not shameful.