Prevent division by 0 in wm when target and current size of window are
identical during a transition