handle various conditions that caused zoom-around-mouse-position to fail