Fixed some sensor issues.