workaround chrome warning because of getActiveAttrib.