http://stackoverflow.com/questions/22573669/wpf-windows-8-compatability-issue/22608707?noredirect=1#comment34449499_22608707