Otherwise a pathological condition can start the next frame while some related variables are still being read. Fixes #43.