I have seen the same thing happen with armour stands holding shields that another player placed but the person who placed them sees them properly
You said you added a 'custom dimension like forge custom dimension' which to me sounds like some kind of mod and I don't think you are supposed to post bugs if they are in a modded world.
Are you killing them manually or automatically because if automatically (for example, fall damage) they shouldn't drop xp anyway.
Brown dye also shows up as cocoa beans