Another go at the door opening bug