I had a similar issue, it ended up being the wiring to the switch was getting pulled while extending the arm. Marlin thought it was triggered so it never touched the glass.