Fixed liHeight to use visible option as height

Fixes #706