Why is signature widget sometimes not working?