Defensively reset the default state of layout elements.

Bug: 6500945
Change-Id: Idf7300c44955413e2db26ecbabdef9f67f12f360
1 file changed