When filtering the message list, the page length is affected. Since the message list header and footer are not considering this event in the decision to whether float or stick, the position is not adjusted. This results on the header and/or footer being misplaced.
To reproduce: access to a long message list, scroll to the middle and filter it.
Version: master
Severity: minor