Fixing issue #177 "WPF Paned position bug"