Are you sure that it is a short circuit? The N900 makes a copious use of magnets for all sorts of things, including the keyboard open/close detection (see here for similar problems I had once, including an approximate location of that magnet). Unless you are absolutely sure about the cause, I would start looking around that area.