Bug found with gcode_button

Looks like the same issue as in these bug reports: Macro for GPIO pin not releasing