Fix cropping with Spectrum 5 on resize