Assuming that the RD is correctly attached then I've had a similar problem. In my case the B screw was not making full contact with the platform provided by the hanger which itself was part of the steel frame. In one instance I solved the problem by adding a new surface to the platform by welding and in another, I replaced the adjusting screw with a longer Allen headed one. In both cases this moved the pulley further away from the sprockets.