Got a question

I just made a RPG,after I published it I found out that the character moves faster if I change the size of the window smaller,and slower if I make it bigger ,but it doesnt happens to games that other people make. how do I fix it?