Fixed 'Bug 12216 - UI does not work is stuck in never ending loop '.