Fixes show and hide points method