Removed extra margins when cropping images

PLAT-567 #time 2d