Fix event creation when Drupal is installed in subdir.