Tweak line, polygon and triangle implmentations.