Ensure pixel buffer is filled even when no callbacks have been registered.

Fixes #17