Bug #12978: Fix resize behavior when images are not blocked