More attempts to resolve issue with garbled screen captures on some setups.