Bind/unbind setResizableHandlesSizeAndPosition on focus/blur

Otherwise the resize handles are expensively repositioned for each
image on the page every time there is a transaction!

Change-Id: Ia6cf8de0da03472a517826acd2f64ba126ccf273