Firefox keyboard bug fix