Fix firefox flex-box bug.