Fixed image scaling for larger window and fixed size of text background