Hi,
as the elements are cached, it doesn't work for absolute positioned elements. It would be nice to offer the option to disable the cache.
Also I would suggest to use getBoundingClientRect() (as mentioned here http://stackoverflow.com/a/7557433/3098423) for the field visibility.