Replaced direct function calls to view with 'CallAfter()'.