Fixed crashes from invalid dog image location