Fixed a bug on pull-to-refresh UI