Fixed avatar bug in firefox