Make avalonia pass ContenControl layout tests.