The best way to overcome this I reckon is (sorry

) to play 2 octave scales so that you are shifting in the middle, and listen very carefully to the doh-re-mi as you play them.
You could also try 1 octave scales on one string
No short cuts, just practice, but you CAN do it

you don't need perfect pitch but a good relative pitch.
Good luck
Jane