(core) fixed awful calctarget bug, multiple calctargets could get into a situation where data from a larger one would blead into a smaller