Bugfix for Chrome/Raptor/Rangy issue