draw event fixed