fix for wobbly image loading