Correct viewport intersection