fix for Issue 628: Not refreshing background after import.
Merge main repo.