Fixed potential issue where crash could occur when app frame rate drops below sensor frame rate