Fix the bottom overflow problem in a different way