Fix screenshots (Issue #1240).