Reworked castbar creating.