Relieved the crash when a player tries closing the doors.