Mozilla does not like sw or sh properties of drawImage to be negative