[Fixes 45969131] Removed attempt to access non-existant variable that caused an error in Firefox.