Use parentFragment.pElement when options.pElement is null. Fixes #600