Fix bug: when change orientation the label texts are lose.