Trying to fix some problems on mapeditor :/