Add (primitive) frame limiting

This sucks but it's good enough for now.