Fixed issue #1766. Handles gradients without calling the compass mixins.