Editor window jumps on save / format

Whenever a format on save event happens, the editor completely jumps, sometimes a page down, sometimes all the way down to the bottom of the file. I have to toggle the cursor (up / down arrows), for it to jump back where I was. This is very annoying.