Fix issue where you couldn't expand an image