Preview: Fixes for automatic resize (2)