Replace "opacity" with "visibility"

In the tip.hide function, the tooltip, although set to 0 opaque, will always exist and block the underneath layer.
To solve this, use "visiblity: hidden" to hide the tooltip layer.