`frameTimeCounter` in the end seems slightly broken

I have made an end portal effect, and to make it move I have used frameTimeCounter, however when I press f1, the effect goes slower, and when I open chat/inventory, the effect speeds up. Also to make things even more confusing, this only happens in the end, in the overworld the speed always stays the same...
Was this page helpful?