correct draw order