fix for restart, widgets didn't show since onbeginmap doesn't trigger on restart