Fixed a small bug where you could close a door on yourself