Debounce centerFrame and only update viewport when viewport modifed more then
50 px , fixed #11
Signed-off-by: Rack Lin <racklin@gmail.com>