Remove redundant screenshot opetations