Make sure not to clip the visible region when computing extents

Otherwise, this will have bad draw issues when going out of bounds.