[BUGFIX] Remove flickering with youtube and lightboxes

Change-Id: I894c1916a45a56813dc9fcadfce373e182ddb817
Resolves: #50958
Reviewed-on: https://review.typo3.org/22995
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer