UI hud class updated for primitive creation