Use different arguments to drawImage when making a thumbnail, fixes #30