Thanks for the additional information. The problem with many bugs is that they only appear under certain conditions. Those intermittent bugs are the hardest to find and fix.

At least it's only a case of the wrong image being used occasionally, and it doesn't affect the ability to complete the puzzle.