Fix theme bugs.