Fix shade filtering.