proper check for image complete in swiper plugin

see https://github.com/aFarkas/lazysizes/issues/19