Made sure PDF Preview link in doc tooltip is only displayed when

PDF preview rendering is available.