fixed an issue with load and save

fixed the issue with load and save would randomly shift the window