DrawHandler:Fix NPE