Load the image dimensions for the XML if they are not there, otherwise
estimating the Mipmap layout crashes