Fix bug in PE module caused by misplaced break