fixed bug with advancing tape counter if no input events have been recorded