seems that there's something between the kodi "resolution" /mali driver. you need to find what's stable for you.
https://kodi.wiki/view/settings/system/display
check how other x8hp users have been successful to get it working.
Fixed! I changed resolution from 1280*720@60Hz to 1280*720@50Hz and now it doesn't freeze anymore on movie stop!