Stop trying to handle clipping, Adafruit lib manages it already.