Failed image load fix