Fixes #6998: disabled background color properly on pagination