hotfix for proper resizeing. last nil value fix broke it

This hotfix fixes the bug created by my last fix. The castbar now properly moves if target have shield or not.