I moved to CA from NYC mid year

I moved from NYC to CA on 9/1/2020. When going through my taxes over the weekend, I saw that NY state wants to tax me for my entire salary / income as if I was a resident of NY for the entire year and CA wants to tax me for the portion of my salary I earned while residing in CA for 4 months. Meaning, I'm essentially being double taxed for that 4 month period. Is this how it should occur?

 

And more broadly, I'm concerned that next year I would be double taxed for my entire income -- because I'd be working for an employer based in NY while living in CA. I'm curious if any of you have advice / thoughts on how to navigate this? Thanks so much!