Fixed weird view bug.