Fixed no dashed border in undefined widget