fixes bad cropping in screenshots