Fix rubberband crash