Background bugfix for framework environment.