Fix for button insert.