I’m struggling with this error for many hours.
The live page is here:


Just hover over the big photo to run magnifier.
It works when you set width and height to ui-magnifier, but I would like it to inherit children's size (although inheriting from children may sound strange).

I tried to set or trigger hasLayout on ui-magnifier and even html element as ui-magnifier is positoned absolute and has not containing container with position relative.

I can't just figure it myself.
Any help will be appreciated!