This seems to be a game maker compiler issue but I'm still looking into it. Relaunching the executable fixes this issue.