Fix for count positioning in firefox