We have recently come across a bug in OpenLayers relating to this issue in our application after an upgrade with Omeka classic. Since the OpenLayers library has seemingly been compiled and minified, we are unable to add in any hot fix from our position. There are two suggested solutions here and here with the latter coming from an OpenLayers team member.