[BUGFIX] Follow-up: Responsive image rendering, CGL

Change-Id: I03bd35c36616bae451e7e21e12858f65d13087e5
Resolves: #49723
Releases: 6.2
Reviewed-on: https://review.typo3.org/24525
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn