Fix for Safari 7 flexbox.