Yup, I fixed the problem by putting the image handler file includes/templates/template_default/jscript/jscript_imagehover.js into my own template as well.