Fix bug causing some browsers to use an incorrect current time