Mozilla hack for flex boxes