fix non-reproducible hidden text bug #1322

#1322