Fixed a bug which could potentially disable all interactive elements of a page