Tiled bitmaps with gaps when zoomed

Hello, I’m making a tile based game, and it seems that there are visible gaps when it is zoomed. My tiles are pixel perfect 20x20 and they are all dynamically created by script. Does anyone know of a solution or can point me to a solution in the net? I’ve googled for this and failed to find a solution.