Trying to fix issue #525: IE compatibility mode causes the player to break.
Fixed nasty bug in refreshContent().