Yes, this happens because when you click to open back up the FH Window after minimizing it you click the screen so FH moves your character somewhere else.
Happens all the time with me. It's not a glitch.
It helps when before you minimize FH to make your character look at the sky so when you go back you won't move c:
Hope this helped.
Have any questions?
Ask me.
~Starry