Prevents image reloading when src not changed