fix dog position onclick