Fix custom entity sprite collisions with some entity types (#536).

Sprite collisions with switches were not notified.
Sprite collisions with crystals, fire and explosions were notified but
with a wrong order of sprite parameters passed to the callback.