Fix PreLoadEventArgs $data assignment by reference
Merge pull request #792