Target image corrupting bug fixed