Fix over reported use-this-file-close event

Merely opening media viewer would trigger it.

Change-Id: I62f4685b821aace3d6323c511d5ad889c1745c4b
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/889
(cherry picked from commit dca82c38666c98c25bcf0e7a4d5910bc66a8eca6)