Document image not loading bug