fix flexlayout for webkit/blink