Fix #75: Use front buffer if offscreen is False.
Merge pull request #76 from prabhuramachandran/fix_offscreen_rendering_xvfb

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