MADS: Fixes for handling sprite transparency