Fix for use on IE9 with AMD