Fixed Problem with collecting coins

In previous version, the hero could collect coins without touching them