fix keepInViewport
1.0.1