Check if image is loaded before computing missing frames, else throw exception Closes #340 See merge request !262