Fixed a small bug, the value must not be set directly as this confuses the browser.