Placed prevTarget on client side only