libGDX + box2D – how to avoid crashes?