Slight refactoring on drawImage_blit