Fixed drawing not working bug.