Remove image width height stripper. Add wp-caption width height stripper.