Fix orientation change situation.