Hi kszaq
using the latest stable 7.02.009 (and also 7.02.008, IIRC) screenshots of x265 files are corrupted. Issue is always reproductible, with any x265 file.
Playing a x264 file an taking a screenshot : OK
Stopping the file, playing a x265 file : screenshot is corrupted, a "ghost" of the previous (x264) file can be seen.
Playing a x265 file after reboot results in this screenshot :
Corrupted (x265) screenshots are much smaller than correct (x264) ones.
I don't see errors in kodi.log when screenshot is taken.
Don't hesitate if you need some more testing.