catch sizeChanged on Rectangle
and fixed calculation of x on image resize of