UK is becoming a canonical example of one of the major flaws of representative democracy - bad policy positions can nevertheless be politically rewarding, if the consequences of the policy be misattributed to somebody else.
Farage campaigned against non-white immigration, fuelling the Brexit movement which was predicted to increase non-white immigration. Now he is reaping further political dividend from the issue his policy position exacerbated. It's all about narrative, and people are easily persuaded if the narrative is resonant