The slow screen redraws on the movement of the mouse

 In the meantime, can you make sure than you have the option Platform target to x64 under Project/Properties…/Build? I think this can help. Thank you.  
  
 The problem manifests itself in the assembly under x64. Moreover, it is not a solution because I need to run the program and will be for 32-bit builds.