Fix display refresh when moving a page inside a same document

Signed-off-by: Jerome Flesch <jflesch@gmail.com>