sombe bug fixes, that fix bogus behavior on display mode change