27992: Theme Customizer doesn't load content when activated from a 404 page

PR for review and collaboration, not for merging into `master`.

https://core.trac.wordpress.org/ticket/27992