fix calculate minimapScrollTop issue when clicking