Fix bug on scroll