In the phone app, go to menu / Call settings and uncheck "Auto screen off during calls." If this box is checked, the proximity detector senses when you put the phone to your face and blanks the screen so that you don't accidentally activate buttons with your face.