Add and fix rotation parameters into print layout