Fixed image resize handling in out of focus tabs