Fix getInitialState

getInitialState has to return an object or null. It crashes otherwise.