Which one?
And was the phone shaking so much or had a dirty lens??
I can't tell anything from this picture but there is no code that will tell you this, only "workmanship" limits in the construction or installation specification, but then I guess you don't have one?
It might look shite, but if it works, who cares??
Remember - More details = better answers
Also: If you get a response it's polite to respond to it.