Bug when moving to the "billing checkout" page

When going to https://github.com/settings/billing and clicking on the upgrade button, the theme is light. When going back to the settings page (browser back button), the theme stays light until you set the theme again.