Fix GuiShapeNameHud maths

Compare cosines, not cosine/angle. See #1009.