Another gradient fix. Ack.