Revert "remove diagonal handling for doors."

This reverts commit 24faaa018c20ddc81abc907d83d206b54ba8cfca.