The viewport is now kept in sync with the render scale

- Still some bugs left though