Electric GE Dryer heating while turned off
Depending on the heat control it is quite possible that only 1 side of the 240v is being switched to control the heat.
The  broken coil and the touching ground on the other side would allow a return path and then create some heat.
Replacement of the heat coil will fix it if it is this kind of control.