Loading
Account for scale-to-fit in image stream
Clicking the image was being scaled incorrectly, because the code assumed the image filled the <img> element. However, with CSS scale-to-fit (content-fit: contain), that's not a good assumption. This commit adds logic to scale the click coordinates properly.