updated surface.blit to int convert argument