Hello,
As you said that this happens after Instagram fix, So If you think that it is because of the Instagram fix since I’m pretty sure that it is not connected. So Please once revert those changes back and check your site after removing the server, site and browser cache, Hope your issue will be solved and if not then please make sure that you are using the latest theme and plugin versions. Also, test with deactivating all the third party plugins as well.
Best Regards.