I have not tried 335 for a while but some powders are dirtier than others when using the “wrong” bullet weights or barrel lengths. Try it with some 62 grain bullets to see if you get the same problem. Also, some barrel lengths are less liked by certain powders than others. It all comes down to how complete the burn is. If the burn is not complete, you get a dirtier gun. Longer barrels sometimes help this as do heavier bullets, etc.
I once loaded up a ton of 40 S&W using a mid range recipe from the books using 3N37 from VV. This was straight out of the VV book. Major problems in my full size USP. Cases were filthy and some cycling problems occurred. I pulled it all and used the powder in some 9mm for a friends MP5 and it worked great and burned pretty clean.
Try a small rifle magnum primer if you are using a plain small rifle (you probably should down adjust the load a grain or so to start if you do this and work back up).
try more or less powder (as long as you have safe “room” to move)
The powder will not burn well if it does not get to a certain pressure.