Not sure if this will help but I had an issue today running an AMD HD 7770 graphics card where when I pressed M for map mode there was a shaking black line on the screen . I changed the graphics display option to windowed fullscreen and that solved the issue.