To reproduce, set the VS theme to default light or dark, and create a new wpf project 