Proper fix for the crash so the angle wings bug is still fixed.