Fixed world crash bug in Toggle Button