Add workaround for table caption selection bug.