The enemies are probably Neutral Hostile. If so: it's not a bug.
To fix this, go to Advanced -> Gameplay Constants and tick the box that says "Use Custom Gameplay Constants".
Then find the value "Hero XP Gained - Creep Reduction Table".
Remove all integers except for one, and make that 100 (so there should only be 1 integer in the table with as value 100).