This seems like a similar problem to one we have with images that have been uploaded with filemanager. Rick has been working with us on a fix and appears to have cracked it.
I believe the fix will be incorporated into ubb 7.5

For us this issue was introduced when we upgraded from ubb 722 to 741. Upgrading to 742 didn't help.