Fixed scaled images issue