Fixed a show/hide rendering bug

When attaching to something like a grid, was seeing some bugs (would not show or hide properly).
I removed the shown property in favor of checking for the custom-visible class (tighter check)