I'm running Mint 18.3 KDE and the solution was found with the help of this link:
Code:
https://support.mozilla.org/en-US/questions/1225327
. System settings->display and monitor->Compositor -> change backend to Xrender (from OpenGL 2.0). I do wonder though why changing KDE rendering backend to xrender solves it for me, but using OpenGL 2.0, or 3.1 for that matter, doesn't.