KODI flickers when mouse is moved (LinuxMint 17)

I recently installed Kodi 17.0 on my HTPC, but I have a problem. Whenever I start it, Kodi flickers and sometimes goes black. Furthermore, it flickers when I move my mouse. These are problems I never experienced in the previous version of Kodi. I am including information about my HTPC.

******

Hardware Information

Motherboard: Gigabyte AM3+ AMD DDR3 1333 760G HDMI USB 3.0 Micro ATX Motherboard (GA-78LMT-USB3)
Processor: AMD FX 4-Core Black Edition FX-4300 (FD4300WMHKBOX)
Memory: Kingston HyperX FURY 8GB Kit (2x4GB) 1333MHz DDR3 CL9 DIMM – Black (HX313C9FBK2/8)
Hard Drive: Seagate 2TB BarraCuda SATA 6Gb/s 64MB Cache 3.5-Inch Internal Hard Drive (ST2000DM006)
Keyboard/Mouse: OfficeTec Wireless Keyboard And Mouse Combo (KB101)
Chipset: North Bridge AMD 760G
Architecture: x86_64
TV: Sanyo (Model DP42841)
Video Connection: HDMI
Graphics: Integrated ATI Radeon HD 3000 (DirectX10)
Case: SilverStone Technology Grandia Series (GD09B)

***

Software Information

Build: Kodi 17.0
Git: 20170210-nogitfound
Compiled: February 10, 2017
Operating System: LinuxMint 17 (Qiana)
Package Base: Ubuntu Trusty