fixed overlay frame issue