Fix auto-door-open bug