Fix canvas cropping with type: 'view'