Fixed bug with doors not closing