Fix a painting and updater error.