Thank you so much for your code and the good explanation.
Code:
hooksecurefunc(NamePlateDriverFrame,"AcquireUnitFrame",function(base)
if base:IsForbidden() then return; end-- Prevent modding forbidden frames (accessing these throws errors)
local unitframe=base.UnitFrame;-- Set by original function
unitframe.ClassificationFrame:ClearAllPoints();
unitframe.ClassificationFrame:SetPoint("LEFT",unitframe.healthBar,"RIGHT");
unitframe.RaidTargetFrame:ClearAllPoints();
unitframe.RaidTargetFrame:SetPoint("LEFT",unitframe.healthBar,"RIGHT", 14, 0);
end);
Did the same thing with the targetmarkers and its working without any issues.