Auto center registration on senocular transformtool

Hey guys, quick question. I’ve been experimenting with senoculars transform tool for a while now. It’s an awesome tool, I’m just having some issues getting it to do what I need it do. I think the problem is it does some really complex stuff but I really just needs some of the simpler features. I’m pretty close to just scrapping it and making a simpler one myself but I really don’t want to do that.

My current issue is trying to get the registration point to always be the center of the object it’s transforming. I was able to sort of do this by changing the line that creates the registration point to this:

innerRegistration = new Point(_target.width>>1, _target.height>>1);

but when the object is scaled the registration point gets messed up. Any ideas on this?