You could try to set the anchor of the dog.anchor.setTo(0.5) dog.anchor.setTo(0.5) dog.anchor.setTo(0.5) dog.anchor.setTo(0.5) dog.anchor.setTo(0.5) dog.anchor.setTo(0.5) dog.anchor.setTo(0.5) dog.anchor.setTo(0.5) dog.anchor.setTo(0.5) dog.anchor.setTo(0.5) dog.anchor.setTo(0.5) dog.anchor.setTo(0.5) dog.anchor.setTo(0.5) dog.anchor.setTo(0.5) dog.anchor.setTo(0.5) dog.anchor.setTo(0.5) dog.anchor.setTo(0.5) dog.anchor.setTo(0 to 0.5), like this:
dog.anchor.setTo(0.5);