Fix precompile problem with .png in sprite path #436

Fixes #436 for me