Fixed constraints to work in landscape mode