Fixed display bugs.