Now correctly creates doors.