From my limited experience, this happens because u had a reserve player. As long as u hv a reserve player in any position, that player will be used to replace any position that the player is tired, injured or has foul trouble.
To eliminate this, u will just need to set no reserve for all positions. But beware that when u get into foul trouble or injury it will totally have an impact to your team's performance.