I turned off the automatic rotation and forced phone app to portrait mode. Now I have no problems with the phone app.