Issue 453: Fixing backwards-compatibility mode for Drupal behaviors.

Fixes https://github.com/backdrop/backdrop-issues/issues/453.