Oh yeah. Forgot to mention that. I'm setting enable mouse to 1 in main() and it is not being changed anywhere else