Handle panels properly when monitor configuration chagnes