crbug.com/577480: Position centred content of flexboxes correctly after a style change.