two bug fix

* restore line space
* handle page mode in redrawCurrentPage