auto rubber band line width
macos crash fix