New fixes for screenshots on appveyor