Fixed regression on paste from clipboard