Are you spawning the target on the same layer as the Player?
If not then when you scale the layer you will need to translate the coordinates from Layer to layer, otherways they will not match as the coordinates will be different from layer to layer.
Or an easier solution if you dont want to translate the coordinates you can spawn the target at the same layer as the player.
If that is not the issue then it will be better to share a minimum example so someone can have a look.