Fixed error where lost connection when sending scroll events