wait for image, this fails sometimes in IE without it

Change-Id: I7855fcdc533543fbdb07c5fa7026d1199ba715ac