fix for wrapping of undo button