Watermark is too high when element contained inside another hidden element

Added a method that will get the actual outer height of the element even if the element is within a hidden element.