fixed selected tile issue