Cleanup geometry when it's not needed