For anyone struggling with the same bug try to turn off mediafiles translation in Polylang settings.
Otherwise you need to provide translation for every image in Attachment Details.
Nevermind, I figured it out. You have to use ‘End-point’ in the tab settings.