BUG: Preserve alpha channel when cropping

This keeps the alpha channel from turning black.

Submitted on behalf of @phil-quinn