Changed to WPF canvas, removed unnecessary options and code