Adapt to Polymer flexbox default changes, IE10-11, and other fixes.