This is fixed per:
https://github.com/discourse/discourse/commit/def7348777832f454c92f07c75ced769b5ae1718
Also, made it a bit easier to preview themes and fixed a bug where when you deleted a theme users that had it selected would get an error.
IMPORTANT I changed the cookie name from “preview_style” to “theme_key” which is more correct, this means if you had a user selected theme on meta you will need to select it again.