Fixed #2037 where Opera would mis-state the value of 'display' after an innerHTML was done in some cases.