Prevent crash when disabling ws in caption slice (FWNX-1348)

Change-Id: I998f2a12b2ff7fd52d959179b8993576ad43d4b4