Mounting an image will always call ::onMount. This is an engine feature.
hatmod doesnt even require you to enable hatmod hats - it would be weird to tell people that they have to enable just this one hatpack for it to work properly