Fix a a bug in the snap to button check state assignment that some how got lost.