On occasion pressing the wake button causes a reset. Maybe it's still trying to jump to the INT0 vector? Try adding an invalid irq vector.