Fix crash in FolderBrowser control

Change-Id: Ifa13750cd8152e9baf49ad2e350f699de875e40b