Fix bottom frame overflow bug!