Update some draw code to work with view shifting.