windowless: fixed freeze of last frame on stop()

fixes issue #42 on Google Code