Image pasting almost working in Windows