Bug 827137 - Cost control running with foreground priority when not visi...

...ble (again)