I got a MacBook connected to an external display at home. When I'm not at home the windows on the MacBook screen are all "disorganized" due to the way I have the windows on the external monitor.
Also this happens when I've used the MacBook screen and connecting it to my external monitor at home, the windows will be "disorganized" on my external monitor.