[FIX] correctly assign PSMTabState masks and relayout TabView if tab gets selected.