Fixed image resolution problems.