(Bug 5274) Previews properly resized