There are a few ways to link individuals (and other records) to a media item and the reverse.
I have assumed your issue relates to the link at the top of the “Album” tab on an individual page. I think the attached file will fix that. The file, attached here in a zip folder is inverselink.php. It replaces the existing file in the kiwitrees root folder.
Let me know if this fixes it, or if you are referring to a different use-case and I’ll look again.