FLUID-4844: Modifying the way we set 'mode' so that captions work in Safari.