Fix rubberband crash. Fixes #28