Fix map editor
Fix map editor
Optimise drawing by 20 percents