Fix icon clicking bug in firefox