Fixed possible crash when an image isn't loaded