fixed issue with various sized npcs