Disable raf alignment when the compositor doesn't generate begin frames.

Background pages don't get raf signals so we can't align the mouse events
to a signal that never comes.

BUG=703344

Review-Url: https://codereview.chromium.org/2835673002
Cr-Commit-Position: refs/heads/master@{#466638}
5 files changed