Fixes
- Images descendant of a positioned element didn't have their position correctly calculated.
- Image position was not updated when the component was re-rendered in a different position but all props stayed the same.
- Trigger
afterLoadoncomponentDidUpdateinstead ofsetStatecallback.
Performance
- Avoid duplicate renders when props were changed.