Add fix in jQuery image hover function