Fix to series toggling bug that caused annotations to be hidden when toggling (hiding) series. Fixes #328