fixed bug in firefox with setting currentTime