Wrap block of code that throws sequrity error into try-catch. Return old crop method for browsers that no thrown error when calling toDataURL on canvas