Made initLocation always set some state
Reset resize rule before processing resizes