Interplay of orbital effects and nanoscale strain in topological crystalline insulators