Ignore invisiable elements (style.display is none)