Fix #75: Use front buffer if offscreen is False.

This should fix issue #75.