some fixes

fixed npc,enemy render... fixed map editor tile selection