Fixed some bugs on PrintView