temp fix broken layoutComplete event