fixes #18: fixes ui bug with selector on other tabs