Improved the speed of MyResizableImages.