fixing screenshot for selection