[Editor] Check for valid map size