Introduce a wait for the lazy-loaded image loading
Fixes: https://gitlab.com/charts/gitlab/issues/1551