fix deformation and print position in landscape mode