WPF: Updated the way drawing resources are initially created in generic controls.