I think the issue is when importing your game to itch on embed options you have to choose the correct viewport dimensions, you can still edit it.