Added basic drawing of scaled images.