Prevent WPF from throwing errors for negative w/h