optimized image performance by using convert_alpha function from pygame