that is no glitch - that is there on purpose: all character sprites are displaced 6 pixel up to make it appear that they're walking inside the grid (on the floor) instead of on the grid lines.
To remove this displacement you need to tell the engine that you want an object sprite (like doors for example) which needs to be fit to grid.
That is the ! in the filename of the door sprites and similiar sprites, check your sprite list...