fixed image scaling issue again, this time for real