Subsequent custom entry/exit-animations are buggy

Description

When you declare a custom entry-animation and/or exit-animation the first opening/closing works fine, but the subsequent are buggy (size jumps, wrong open/close states or sometimes the menu won't react altogether)

Desired outcome

Custom-Animations should be declarable in the same way as in et-dialog and they should work.