Fixed resetting background type.