Fixed infinite loop when calling next tick within next tick