fix non-reproducible hidden text bug #1322