fixed some bugs with level editor