Fixes bug that was causing .js errors to get thrown when the viewport left the network extent.