Combined effects of polarization and nonparaxial propagation on pattern formation