Fix replay bug in Chrome

just a little trick...