Firefox navigation bug fix