Fixed return value for DRAW and EXPOSE-EVENT callbacks