Fixed TimeOfDay Editor bug