Fix display bugs.