Temporary fix for #848, fixed pull2refresh bugs