Fixed script-side object typing bug in Images. Improved image blit performance.