Fixes #6906 @3h added limit to background image in pop-up window