While loop & hitTestPoint malfunction

 if (mc_Blockers.hitTestPoint(char_Anelianne.x,char_Anelianne.y-1,true)) {
  while (mc_Blockers.hitTestPoint(char_Anelianne.x,char_Anelianne.y,true)) {
   mc_Blockers.y ++;
  }
 }
 

This code serves the purpose of raising the character upon going up a hill. However, since the game will be on a large space (larger than the document size 1000x750) I am moving the ground (mc_Blockers) instead. This code is supposed to push the mc_Blockers down then it intercepts with the characters y. But instead, it just throws the character really high. When I examined it closely, it seemed to me that it threw the character up till the bounding box of the mc_Blockers (the whole stage is drawn, I’m not using blocks for floor, etc.).