Abort if the UI file cannot be loaded, and use bilinear interpolation
when scaling the photo.