Determining an available viewport for use