Fix for issue 285

Added call to UIContext::setActiveView(NULL) to force window title to have proper default value.