Switch to Object mode during export