Also fix the remaining TODO left by #958, as a use case of the scripted Visibility component. Refs #2913, #958. This was SVN commit r16248.