Fixed image size related bug.