Fix view render bug with URL hashes.