(compute_tip_xy): Put tip above pointer if it doesn't fit below.