Fix custom embed transition