You can hold space to move up infinitely, this bug kinda reminds me of geometry dash wave controls. Also you can add a sky barrier, so player won't be able to fly in space.
Infinite rise bug has been fixed and a sky barrier has been added. Thanks for the recommendations!