Fixing image insert issue where captions were showing