Fixed some issues in ObjectSelector and TileSelector