change shape edit behavior to obey w/h constraints