hmm.. the only way I manage to make it work properly is if you set the picture Origin (Anchor) to Center. It works on any container(any layer). But if you change the Anchor, it does not properly update anymore, giving the effects will talked to me.
Did a lot of tries here on code, but didn't see to find a solution, besides left the Origin to Center.
If I ever discover this, and I will try more, I will let you know.
Will take a look into the Map Layer plugin too.