That can be a problem because some M motors has wrong capacitators inside, they also not work with the IR remove v1.
We try to help them with modification with the SBrick's firmware, we will publish an update when it will ready.
Before you can try to use another M motors or L motors instead.