Collision based on colour

No problem. Even seasoned devs can easily make mistakes like this. And the larger the project the more difficult to find simple bugs like that.