On my first M8 there was a rattle from the top of the phone and the module was slightly off centre, so i thought that was the cause and had it replaced.
My replacement M8 has the duo camera even more off centre! but no rattling, so maybe its normal. But compared to a couple of colleauges phones their cameras modules are pretty much dead centre of the cut out.