Pygame window keeps scales weirdly

Solution 1:

replace WIN = pygame.display.set_mode() with WIN = pygame.display.set_mode((1536, 864)) . So what I think is the problem is that the screen's size is not specified. Hence the weird scaling.