fixed : sometimes failed to copy bitmap to clipboard