Fix to the method `element_is_not_hidden`

This is the possible fix for the issue "Method `element_is_not_hidden` does not work as expected" https://github.com/TestingWithFrank/Frank/issues/31