I’ve had this issue even before I tried direct loading, when I was exclusively using the dosing capsules. However, your comment about herb touching the heater screen got me thinking.
Even with exclusive use of the dosing capsules the heater screen gets stained. I’ve been cleaning it with an IPA...