Screenshot optimization