Lol, I swear I made almost this exact change (moving this.x to after the inputs are verified) in one of my branches.