Switch .prop to .attr so this fix actually works.