Fix max preview, some resizing and caching issues and force preview providers to resize their previews properly