Update .gitignore & fix screenshot test capturing.