Fix calendar style bug on Firefox