Runtime error after page reordering

When i reorder pages in the admin panel (Advanced Tab) i get a Runtime error as Grav can’t find the image related to the page anymore. This only happens with the hoster (Apache) but not local with php -S. Experienced in 1.7.6 and 1.7.12

An exception has been thrown during the rendering of a template 
failed to open stream: No such file or directory").

Related to this template line.

{{|first.cache.html|raw }}

After i clear the cache everything works fine again but can’t it reproduce locally. Is this normal behavior, an error by me or possibly the hoster?