OK, I've been away from Linux for a while and I'm still trying to catch up myself, but I found this when I was looking for an answer to the same problem...In other words, I don't know why it works, it just does.
I hope it works for you...
Edit the command that is run when you click on the Firefox icon to run "aoss firefox %u" instead of just "firefox %u".
Regards,
Mike