Far away from ferrous metal as possible is good - however I like to keep it at least 1ft from steel control cables and minimum of 18" from motors, small screws & nuts aren't as important but should be considered.
You could use brass or stainless screws for the hatches too.
HTH
Jake J