Why does this happen?

I had this open, I then switched to another window, when I clicked on it's button in the taskbar it was no where to be seen. I had to right click on program bar in the taskbar and select 'move' to then bring it back in to the main area before expanding it.