You don't want to be too close to the back wall. You won't be too close to the screen if you pick the right size screen for where the seats are
If it were my room, I'd sit the first row so that the seated ear position in that row is just about at 13 feet or slightly more. That actually gives you more space for the back row and puts you in a better place in the front row.
Bryan