fix sprite sampling