fixing issues with canvas drawImage(negative)