Fix #309: Solve problem with popover disappearing when changing the track visibility.