Fixed a bug in overscrolling the list of tools