Implement live resizing of images and fix shift click.