fixed bug on ide's spriteeditor #27