Fixed image scaling issue