fixed bug which caused editor grid position fail!