Fix bug when no image data is available