Don't extend pres off the viewport