Fix firefox display issue