Tile based map is wrong position

i’m learning how to make a tilebased game like mario. i’m using tonypa’s tutorials and files. I resized the screen so it would fit the background image but now the tiles are wrong. i attached the source.