Fixed image sizing and scaling issues