Bugfix for targeting, this was reseting the targets