Added element visibility check before calling _show_element function on ...

...element

Line 28, added a check to see if the element was currently visible on the page. If Not Visible don't show element