Gallery block -> Sunrise effect

The Sunrise effect for the Gallery block doesn’t work properly on the frontend.

Thank you to @Ern for reporting this bug.