Make upper_blit use transmute instead of match