Fix control when multiple doors are defined