Debug: Add colors to entity IDs

Also, use the correct positions for linked objects.
Remove ANCHOR_FLAG_GREEN_DRAW

Is a leftover editor flag that wasn't used anymore.