Why does my window detach exit full screen?

Whenever I exit full screen, my window goes from filling my screen to only being partially filled, instead of maximized.
Any ideas for a fix? I am fine with the problem but it’s still an inconvenience for me