bugfix for image gallery mouseover event