fix clip extent issue #1009