Fixing firefox display issue