Optimize SnapRef screenshot