Try running firefox with the add-ons disabled and see if that stops it.

If it does then you are going to have to pinpoint the add-on that is causing this.