I glimpsed roughly over it but to me it looks like a Frame Dependance issue. In Calculate Gravity you do a couple Calculations that don´t take Delta time into account by the looks of it. And different Screensize will result in different FPS. You might want to doublecheck that Part.