Fix close button on resized images