[fx] fix copyTextToClipboard bug introduce with shadow