fixed horizontal image scaling