Reacts to cursor distance from target center

Gets rid of the ugly gimbal-lock feel when you cross an axis near the target's center.