uninitialized variable in draw action leading to nasty segfaults fixed