Update and enable ensureProperClearing for all browsers