Cannot Upload Transparent Logo

I am running BuddyPress 1.2.8 on WP 3.1.1

I am using the Gallery theme on some micro sites and any time I try to upload a transparent gif or jpg they are rendered with a black background.