Fix scroll issues which occur after opening/closing a JSON dialog (Resolves #98)