update hit test click, image resizing