Genereally it's one of three things...

Aspect ratio...
--If it's different the mouse won't line up

Screen resoltuions..
--All windows should be set to run at the same resolution in game.. I think..

UI Scale...
--in Wow options..