Fixed Marshalling problem with WPF