Runs fine on my end. You have some issue on your end. The onyl time it will switch is if you stop targeting the ghost, and unless you have wierd as fuck settings it will only stop attacking the ghost if it dies (or moves out of the way for some reason - but then you don't need to kill it anyways).