crashing in board's draw event