Fix activity in landscape mode