For the best sound, speakers should have stand-off distances from nearby walls. Since you don't have that, your speakers will not sound as good as they could, but that doesn't mean they have to sound bad.
In that placement, if the bass sounds boomy or overbearing, use the foam inserts to plug the rear ports. That will reduce the bass output which should hopefully result in a more natural sound.