Here is where the required core-patch comes into play. We need an extra callback to apply placement before the animation starts (hence toggling visibility).