Fixed an issue causing the "To top button" to freeze on screen