Crossbrowser Image Reset fix

Signed-off-by: Gergely Tóth <tgely@gumisarok.hu>