I think you could accidentally collide with an enemy that was just next to the screen border. You don't see them but if you get close enough to the edge you can still collide with an enemy and get reset. Thanks for a good review!
you're welcome, good luck!