After upgrading to Ubuntu 17.10 I noticed some of my screencasting applications are not working, for example screencasting tools like SimpleScreenRecorder and vokoscreen. (link)
Also I noticed features like screenshot from GIMP is not working properly, producing blank screenshots (link). Shutter too is producing glitchy screenshots (link).
Screen-sharing option on Skype is also not working (link).
The issue occurs sometimes on later Ubuntu releases too.
Why is this happening and how do I fix this?