fix flicker, add pad movement limits