key fix for applying initial component state from scheme

initial state from scheme, when `getState` is not defined, was broken. This fixes it.