Changed blit function for generic 8-bit bitmap.