Synchronize on entry's index when reading an image as well. This way, we'll wait for a write to finish if it's occurring on background thread.