Prevent using special names (e.g., _mouse_) as sprite names

Fixes #359.